import Layout from '@/layout'
// 仓储
const saleManagement = {
  path: '/saleManagement',
  component: Layout,
  name: 'saleManagement',
  meta: {
    title: '销售管理',
    icon: 'sell-manage',
    systemFlag: 'YY',
    breedType: ['YY']
  },
  children: [
    {
      path: '/sale-return-record',
      name: 'sale-return-record',
      component: () => import('@/views/saleManagement/sale-return-record/index'),
      meta: {
        systemFlag: 'YY',
        breedType: ['YY'],
        title: '销售退货记录', icon: 'sale-return-record'
      }
    },
    {
      path: '/delivery-notice',
      name: 'delivery-notice',
      component: () => import('@/views/saleManagement/delivery-notice/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '发货通知', icon: 'delivery-notice'
      }
    },
    {
      path: '/sale-order-manage',
      name: 'sale-order-manage',
      component: () => import('@/views/saleManagement/sale-order-manage/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '销售订单', icon: 'sale-order-manage'
      }
    },
    {
      path: '/customer-manage',
      name: 'customer-manage',
      component: () => import('@/views/saleManagement/customer-manage/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '客户管理', icon: 'customer-manage'
      }
    },
    {
      path: '/customer-type',
      name: 'customer-type',
      component: () => import('@/views/saleManagement/customer-type/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '客户分类', icon: 'customer-type'
      }
    },

  ]
}
export default saleManagement;  